import Vue from 'vue';
import VueRouter from 'vue-router';
import Home from '../views/Home';

Vue.use(VueRouter);
const routes = [
    {
        path: '/',
        name: 'home',
        component: Home,
    },
    {
        path: '/quant',
        name: 'quantitative-evaluation',
        component: () => import(/* webpackChunkName: "quantitative-evaluation" */ '../views/quantitative-evaluation'),
    },
    {
        path: '/wireless-warn',
        name: 'wireless-error',
        component: () => import(/* webpackChunkName: "wireless-error" */ '../views/wireless-error'),
    },
    {
        path: '/wireless-timeout',
        name: 'wireless-timeout',
        component: () => import(/* webpackChunkName: "wireless-timeout" */ '../views/wireless-timeout'),
    },
];

const router = new VueRouter({
    routes,
});

export default router;
